/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';

var React = require('react-native');
var Movies = require('./App/Movies');

var {
  AppRegistry,
  Image,
  ListView,
  StyleSheet,
  Text,
  View,
  NavigatorIOS,
  ScrollView,
  Navigator
} = React;

var WalkerfreeProject = React.createClass({
  render:function(){
    return (
      <NavigatorIOS
        style={styles.container}
        initialRoute={{
          'title':'电影列表',
          'component': Movies,
        }} />
    );
  }
});

var styles = StyleSheet.create({
  container: {
    flex: 1,
  }
});

AppRegistry.registerComponent('WalkerfreeProject', () => WalkerfreeProject);
